﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using YYTea.MOdel.Model;
using YYTea.Services.VModel;

namespace YYTea.Services.IServices
{
    public interface IProduct
    {
        Task<List<Product>> GetAllProduct();
        Task<Product> GetProductByID(Guid ID);
        Task<List<Product>> GetProductByName(string Name);
        Task<Product> AddProduct(ProductVModel productVModel);
        Task<Product> UpdateProduct(ProductVModel productVModel,Guid Id);
        Task<Product> DeleteProduct(Guid ID);

    }
}
